package cn.csc.module.shop.controller.app.detail.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 店铺详情 Base VO，提供给添加、修改、详细的子 VO 使用
 * Author: liuchuang
 * Date: 2024/1/13
 * Time: 10:09
 * Declaration: All Rights Reserved !!!
 */
@Data
public class AppShopDetailBaseVO {

    @ApiModelProperty(value = "华商贸的公司id,与支付模块对应")
    private String appUserId;

    @ApiModelProperty(value = "店铺名称", required = true)
    @NotNull(message = "店铺名称不能为空")
    private String shopName;

    @ApiModelProperty(value = "店铺简介")
    private String intro;

    @ApiModelProperty(value = "店铺logo(可修改)")
    private String shopLogo;

    @ApiModelProperty(value = "店铺移动端背景图")
    private String mobileBackgroundPic;

    @ApiModelProperty(value = "店铺状态(-1:已删除 0: 停业中 1:营业中)", required = true)
    @NotNull(message = "店铺状态(-1:已删除 0: 停业中 1:营业中)不能为空")
    private Byte shopStatus;

    @ApiModelProperty(value = "行业类型")
    private Byte businessType;

    @ApiModelProperty(value = "行业id")
    private String businessId;

    @ApiModelProperty(value = "行业名称", required = true)
    @NotNull(message = "行业名称不能为空")
    private String businessName;

    @ApiModelProperty(value = "法人名称", required = true)
    @NotNull(message = "法人名称不能为空")
    private String legalPersonName;

    @ApiModelProperty(value = "联系人", required = true)
    @NotNull(message = "联系人不能为空")
    private String contact;

    @ApiModelProperty(value = "联系方式", required = true)
    @NotNull(message = "联系方式不能为空")
    private String phoneNumber;

    @ApiModelProperty(value = "商户地址", required = true)
    @NotNull(message = "商户地址不能为空")
    private String address;

    @ApiModelProperty(value = "营业执照url", required = true)
    @NotNull(message = "营业执照url不能为空")
    private String businessLicense;

    @ApiModelProperty(value = "证件号码", required = true)
    @NotNull(message = "证件号码不能为空")
    private String idCardNo;

    @ApiModelProperty(value = "身份证正面url", required = true)
    @NotNull(message = "身份证正面url不能为空")
    private String idCardFront;

    @ApiModelProperty(value = "身份证反面url", required = true)
    @NotNull(message = "身份证反面url不能为空")
    private String idCardLater;

    @ApiModelProperty(value = "审核状态(0:不需审核 1:等待审核 2:审核通过 3:需补充资料 4:审核不通过)", required = true)
    private Integer auditStatus;

    @ApiModelProperty(value = "店铺类型,1自营店 2普通店 3华商贸店铺", required = true)
    private Integer type;

}
